]> dgit.raspbian.org Git - gnome-shell.git/commit
st/entry: Forward label-actor to internal ClutterText
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 26 Jun 2025 10:07:07 +0000 (12:07 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 27 Jun 2025 10:47:09 +0000 (10:47 +0000)
commit38a28b9bd4abbdcd096af3685be01eb937923fce
tree1fcd07fed94041e231e48071de6d05118653b1f6
parentbf497e42fb0b9b069d56df65f323a1bfd842ccb9
st/entry: Forward label-actor to internal ClutterText

The StWidget:label-actor property is a convenient way of setting up an
actor's labelled-by relationship. However on StEntry, it is currently
fairly useless because if the entry is focused, the actual keyboard
focus will be on the internal ClutterText rather than the entry itself,
and orca ignores ancestors in most cases.

Address this by tracking the entry's label-actor property, and replicate
the labelled-by relationship on the internal ClutterText actor.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3179>
src/st/st-entry.c